import platform
import os


def is_windows():
    return platform.system() == "Windows"


def has_d_drive():
    if platform.system() == "Windows":
        return os.path.exists("D:\\")
    else:
        return False


def get_operating_system():
    os_name = platform.system()

    if os_name == "Windows":
        return "Windows"
    elif os_name == "Darwin":
        return "macOS"
    elif os_name == "Linux":
        return "Linux"
    else:
        return "Unknown"
